<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:sec="http://www.springframework.org/security/facelets/tags"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>

	<sec:ifAnyGranted roles="ROLE_ADMINISTRADOR">
	<div class="art-layout-cell art-sidebar1 clearfix">
		<div class="art-block clearfix">

			

			</div>
		<div class="art-block clearfix">

			<div class="art-blockheader">

				<h3 class="t">Administrador</h3>
			</div>

			<div class="art-blockcontent">
				<p>
					<span style="font-family: Impact; font-size: 18px;">Sr.
						&nbsp; Admin</span>
				</p>
				<p>
					<br />
				</p>
				<p>
					<a href="alterarsenha.html">Alterar Senha</a>
				</p>
				<p>
					<br />
				</p>
				<p style="text-align: right;">
					<h:outputLink value="javascript:void(0)" class="art-button" onclick="document.location='#{request.contextPath}/j_spring_security_logout'" title="Sair">
						Sair
					</h:outputLink>
			</p>
				<p>
					<br />
				</p>
			</div>
		</div>
		<div class="art-vmenublock clearfix">

			<div class="art-vmenublockheader">

				<h3 class="t">Navegação</h3>
			</div>
			
			<div class="art-vmenublockcontent">
				<ul class="art-vmenu">
					<li><a href="inicio.html" class="">Ínicio</a></li>
					<li><a href="../administrador/consultarConstrutora.jsf" class="active">Construtoras</a></li>
					
				</ul>

			</div>
		</div>
	</div>
	</sec:ifAnyGranted>
	
	<sec:ifAnyGranted roles="ROLE_CONSTRUTORA">
	<div class="art-layout-cell art-sidebar1 clearfix">
		<div class="art-block clearfix">

			<div class="art-blockheader">

				<h3 class="t">Obra</h3>
			</div>

			<div class="art-blockcontent">
				<p>
					<img width="161" height="30" alt="" src="images/combobox.png"
						class="" /><br />
				</p>
			</div>
		</div>
		<div class="art-block clearfix">

			<div class="art-blockheader">

				<h3 class="t">Construtora</h3>
			</div>

			<div class="art-blockcontent">
				<p>
					<span style="font-family: Impact; font-size: 18px;">Sr.
						&nbsp; XXX Engenharia</span>
				</p>
				<p>
					<br />
				</p>
				<p>
					<a href="empreendimento.html">Dados Pessoais</a>
				</p>
				<p>
					<br />
				</p>
				<p style="text-align: right;">
					<h:outputLink value="javascript:void(0)" class="art-button" onclick="document.location='#{request.contextPath}/j_spring_security_logout'" title="Sair">
						Sair
					</h:outputLink>
				</p>
				
				
					
					
				<p>
					<br />
				</p>
			</div>
		</div>
		<div class="art-vmenublock clearfix">

			<div class="art-vmenublockheader">

				<h3 class="t">Navegação</h3>
			</div>

			<div class="art-vmenublockcontent">
				<ul class="art-vmenu">
					<li><a href="../construtora/consultarObra.jsf" class="">Obras</a></li>
					<li><a href="../construtora/consultarCliente.jsf" class="">Clientes</a></li>
					
				</ul>

			</div>
		</div>
	</div>
	</sec:ifAnyGranted>
	
	<sec:ifAnyGranted roles="ROLE_CLIENTE">
	
	
	
	<div class="art-layout-cell art-sidebar1 clearfix">
		
		<div class="art-block clearfix">

			<div class="art-blockheader">

				<h3 class="t">Cliente</h3>
			</div>

			<div class="art-blockcontent">
				<p>
					<span style="font-family: Impact; font-size: 18px;">
					<p:outputLabel id="cliente" value="Olá, #{contextoBean.usuarioLogado.nome}" ></p:outputLabel>
					</span>
				</p>
				<br/>
				<p>
					<a href="empreendimento.html">Dados Pessoais</a><br/>
					<a href="empreendimento.html">Alterar Senha</a>
				</p>
				<p>
					<br />
				</p>
				<p style="text-align: right;">
					<h:outputLink value="javascript:void(0)" class="art-button" onclick="document.location='#{request.contextPath}/j_spring_security_logout'" title="Sair">
						Sair
					</h:outputLink>
				</p>
				<p>
					<br />
				</p>
			</div>
		</div>
		<div class="art-vmenublock clearfix">

			<div class="art-vmenublockheader">

				<h3 class="t">Navegação</h3>
			</div>

			<div class="art-vmenublockcontent">
				<ul class="art-vmenu">
					<li><a href="inicio.html" class="">Ínicio</a></li>
					<li><a href="empreendimento.jsf" class="active">Empreendimento</a></li>
					<li><a href="acompanheSuaObra.jsf">Acompanhe a Obra</a></li>
					<li><a href="seu-apartamento.html">Seu Apartamento</a></li>
					<li><a href="meus-vizinhos.html">Meus Vizinhos</a></li>
					<li><a href="documentos-e-contratos.html">Documentos e
							Contratos</a></li>
					<li><a href="contate-a-construtora.html">Contate a
							Construtora</a></li>
					<li><a href="comunicados.html">Comunicados</a></li>
					<li><a href="enquetes.html">Enquetes</a></li>
				</ul>

			</div>
		</div>
	</div>
	</sec:ifAnyGranted>
	


</ui:composition>
</html>